package day09.Homework;

import java.util.LinkedList;

public class Homework2 {
    public static void main(String[] args) {
        MyList list = new MyList();
        LinkedList<Integer> list1 = new LinkedList<>();
        list1.add(10);

        list.addFirst(10);
        list.addFirst(20);
        list.addFirst(30);
        list.display();



    }
}
